/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  color: #3d3536;
  background-color:#a5ce39;
}

body, html {
  /* important */
  height: 100%;
}

a {
  color: #000000;
  text-decoration: none;
  font-weight:bold;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */

.cd-main-content {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 1;
  padding-top: 130px;
}
.cd-main-content-OTHER {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.cd-main-content-CALENDAR {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 1;
  padding-top: 45px;
}

.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}
  .POSTER {
    position: relative;
}
.POSTER img {
    display: block;
    width: 100%;
    max-width: 1200px; /* corresponds to max height of 450px */
    margin: 0 auto;
}
.cd-fixed-bg h1, .cd-fixed-bg h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1170px;
  text-align: center;
  font-size: 30px;
  font-size: 1.875rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
  font-family: 'Lato', Calibri, Arial, sans-serif;
}

.cd-fixed-bg span {
	display: block;
	padding: 0 0 0.6em 0.1em;
	font-size: 50%;
	color: #ffffff;
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../img/maf-background-1.jpg");
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../img/maf-background-2.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../img/maf-background-3.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../img/maf-background-4.jpg");
}
.cd-fixed-bg.cd-bg-5 {
  background-image: url("../img/maf-background-5.jpg");
}
.cd-fixed-bg.cd-bg-6 {
  background-image: url("../img/maf-background-6.jpg");
}
.cd-fixed-bg.cd-bg-7 {
  background-image: url("../img/maf-background-7.jpg");
}
.cd-fixed-bg.cd-bg-8 {
  background-image: url("../img/maf-background-8.jpg");
}
.cd-fixed-bg.cd-bg-9 {
  background-image: url("../img/maf-background-9.jpg");
}
.cd-fixed-bg.cd-bg-10 {
  background-image: url("../img/maf-background-10.jpg");
}
.cd-fixed-bg.cd-bg-11 {
  background-image: url("../img/maf-background-11.jpg");
}
@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 36px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-fixed-bg {
    background-attachment: fixed;
  }
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 57px;
    font-weight: 300;
	font-family: 'Lato', Calibri, Arial, sans-serif;
  }
}

.cd-scrolling-bg {
  position: relative;
  min-height: 80%;
  padding: 4em 0;
  line-height: 1.6;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.cd-scrolling-bg.cd-color-1 {
  background-color: #e94e0f;
  color: #fff;
  font-family: 'Lato', Calibri, Arial, sans-serif;
}
.cd-scrolling-bg.cd-color-2 {
  background-color: #a5ce39;
  color: #a21a5b;
  font-family: 'Lato', Calibri, Arial, sans-serif;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #fff;
  color: #a21a5b;
  font-family: 'Lato', Calibri, Arial, sans-serif;
}
.cd-scrolling-bg.cd-color-4 {
  background-color: #a21a5b;
  color: #fff;
  font-family: 'Lato', Calibri, Arial, sans-serif;
}
.cd-scrolling-bg.cd-color-TWITTER {
  background-color: #78ccf0;
  color: #a21a5b;
  font-family: 'Lato', Calibri, Arial, sans-serif;
}

@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 8em 0;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 300;
	font-family: 'Lato', Calibri, Arial, sans-serif;
  }
}




@media screen and (max-width: 60em) {
	.cd-main-content {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 1;
  padding-top: 80px;
}
}